home *** CD-ROM | disk | FTP | other *** search
/ Multimedia Jumpstart / Multimedia Microsoft Jumpstart Version 1.1a (Microsoft).BIN / develpmt / source / snapshot / snapshot.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-09-12  |  877 b   |  36 lines

  1. /* SnapShot.h
  2.  */
  3.  
  4.  
  5. /* dialog boxes */
  6. #define ABOUTBOX        1
  7.  
  8.  
  9. /* menu items */
  10. #define IDM_ABOUT        5
  11. #define IDM_SHOWCLIP        6
  12. #define IDM_NOW            11
  13. #define IDM_5SEC        12
  14.  
  15.  
  16. /* strings */
  17. #define IDS_APPNAME        101    // SnapShot
  18. #define IDS_OUTOFMEMORY        102    // Out of memory
  19. #define IDS_INTERNALERROR    103    // Internal error %d
  20. #define IDS_APPNAMEVER        104    // SnapShot Version xxx
  21.  
  22. #define IDD_TEXT        100    // text item
  23.  
  24.  
  25. /* macros */
  26. #define MB_ERROR    (MB_ICONEXCLAMATION | MB_OK)
  27. #define Error(idsFmt)                        \
  28.     ( ErrorResBox(hwnd, ghInst, MB_ERROR, IDS_APPNAME,    \
  29.               (idsFmt)), FALSE )
  30. #define Error1(idsFmt, arg1)                    \
  31.     ( ErrorResBox(hwnd, ghInst, MB_ERROR, IDS_APPNAME,    \
  32.               (idsFmt), (arg1)), FALSE )
  33. #define Error2(idsFmt, arg1, arg2)                \
  34.     ( ErrorResBox(hwnd, ghInst, MB_ERROR, IDS_APPNAME,    \
  35.                   (idsFmt), (arg1), (arg2)), FALSE )
  36.